package com.jlkf.dao;

import java.util.List;

import com.jlkf.pojo.TblRelation;

public interface TblRelationMapper {
    int deleteByPrimaryKey(Integer gId);

    int insert(TblRelation record);

    int insertSelective(TblRelation record);

    TblRelation selectByPrimaryKey(Integer gId);

    int updateByPrimaryKeySelective(TblRelation record);

    int updateByPrimaryKey(TblRelation record);
    
    //根据上级查询下级
    List<TblRelation> selectBySuperior(Integer uId);
}